package com.edoomath.api.rao;

import java.util.Map;

import com.demo2do.core.entity.result.HttpResult;
import com.demo2do.core.http.HttpMethod;
import com.demo2do.core.http.annotation.Rao;
import com.demo2do.core.http.annotation.RaoConfig;
import com.demo2do.core.http.annotation.RaoForm;
import com.demo2do.core.http.annotation.RaoMapping;
import com.demo2do.core.http.annotation.RaoUrl;

/**
 * 
 * @author dan
 *
 */
@Rao
@RaoConfig(parse = true)
public interface QiniuRao {
    
    /**
     * 
     * @param url
     * @param parameters
     * @return
     */
    @RaoMapping(method = HttpMethod.POST)
    public HttpResult generateQrcode(@RaoUrl String url, @RaoForm Map<String, Object> parameters);

}
